<template>
    <!-- 3.右边主内容 -->
    <div class="recommend">
        <div class="recommend-search">
            <el-input placeholder="请输入内容" class="input-with-select">
                <template #append>
                    <el-button :icon="Search" />
                </template>
            </el-input>

        </div>

        <div class="recommend-one" v-for="item in recommendlist" :key="item.id" :ref="(el) => setItemRef(item.id, el)">
            <!-- 标题 -->
            <div class="recommend-title">
                <svg class="icon" aria-hidden="true">
                    <use :xlink:href="item.icon"></use>
                </svg>

                <span>{{ item.name }}</span>
            </div>
            <!-- 内容 -->
            <div class="recommend-content">
                <!-- 列表展示每个菜单下的网址 -->
                <ul class="recommend-list" style="list-style-type: none;">
                    <li v-for="v in item.details" :key="v.id">
                        <a :href="v.link" target="_blank">
                            <!-- 列表项，单个网址 -->
                            <div class="list-recommend">
                                <!-- 左侧图片 -->
                                <div class="list-recommend-img">
                                    <img :src="`/src/assets/daohang/${v.img1}`" alt="">
                                </div>
                                <!-- 右侧描述 -->
                                <div class="list-recommend-desc">
                                    <!-- 右侧描述-标题  -->
                                    <div class="list-left-desc-title">
                                        <h2>{{ v.name }}</h2>
                                    </div>

                                    <!-- 右侧描述-概述 -->
                                    <div class="list-recommend-desc-recommend">

                                        <el-tooltip class="box-item" effect="dark" :content="v.allRemark"
                                            placement="bottom">
                                            <el-button class="my-button">{{ v.remark }}</el-button>
                                        </el-tooltip>

                                    </div>
                                </div>
                            </div>
                        </a>
                    </li>
                </ul>

            </div>

        </div>




    </div>
</template>
<script setup>

import { ref, onMounted, provide } from 'vue';
import { Search, User, ArrowDown } from '@element-plus/icons-vue'


// 定义一个 ref 来存储每个 item 的 refs
const itemRefs = ref([]);

// 定义一个函数来设置每个 item 的 ref  
// 函数接受两个参数，一个是 item 的 id，一个是 item 的 ref  
// 然后将 item 的 ref 存储到 itemRefs 中，使用 item 的 id 作为 key  
function setItemRef(id, el) {
    // console.log('setItemRef', id, el);
    itemRefs.value[id] = el;
}


// 定义一个函数来滚动到指定 id 的元素
function scrollTo(id) {
    // console.log('scrollTo', id);
    const element = itemRefs.value[id];
    if (element) {
        element.scrollIntoView({ behavior: 'smooth' , block: 'center'});


    }
}

// 暴露 scrollTo 方法给父组件  
defineExpose({
    scrollTo
});

// 如果需要，可以在组件卸载时清理 itemRefs  
// vue4生命周期函数
onMounted(() => {
    itemRefs.value = [];
})


// 模拟数据
let recommendlist = ref([
    {
        id: 1,
        name: '音乐下载',
        icon: '#icon-a-Sheetmusic',
        details: [
            {
                id: 1,
                name: '大学资源网',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国优质名师在线视频教学课程资源',
                img1: 'dxzy163-logo.png',
                link: "https://www.dxzy163.com/"
            },
            {
                id: 2,
                name: '我要自学网',
                remark: '汇聚全国有值名师',
                allRemark: '国内领先的在线实用技能视频学习平台',
                img1: '51zxw-logo.png',
                link: "https://www.51zxw.net/"
            },
            {
                id: 3,
                name: 'OpenClassrooms',
                remark: '汇聚全国有值名师',
                allRemark: '超过500+免费高质量课程',
                img1: 'open163.png',
                link: "https://openclassrooms.com/en/courses"
            },
            {
                id: 4,
                name: 'MasterClass',
                remark: '汇聚全国有值名师',
                allRemark: '世界顶级大师精品课程学习平台',
                img1: 'openclassrooms-logo.png',
                link: "https://www.masterclass.com/"
            },
            {
                id: 5,
                name: '网易公开课',
                remark: '汇聚全国有值名师',
                allRemark: '网易旗下的免费公开课平台',
                img1: 'masterclass.png',
                link: "https://open.163.com"
            },
            {
                id: 6,
                name: 'FutureLearn',
                remark: '汇聚全国有值名师',
                allRemark: '英国第一MOOC平台',
                img1: 'mooc-cn.png',
                link: "https://www.futurelearn.com/"
            },
            {
                id: 7,
                name: '爱课程',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国有值名师, 课程资源、学习资料、学习资料',
                img1: 'mooc-cn.png',
                link: 'http://m.xichuangzhu.com/library'
            },
            {
                id: 8,
                name: 'MOOC中国',
                remark: '汇聚全国有值名师',
                allRemark: '慕课改变你，你改变世界。MOO...',
                img1: 'mooc-cn.png',
                link: "https://www.mooc.cn"
            },




            {
                id: 1,
                name: '大学资源网',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国优质名师在线视频教学课程资源',
                img1: 'dxzy163-logo.png',
                link: "https://www.dxzy163.com/"
            },
            {
                id: 2,
                name: '我要自学网',
                remark: '汇聚全国有值名师',
                allRemark: '国内领先的在线实用技能视频学习平台',
                img1: '51zxw-logo.png',
                link: "https://www.51zxw.net/"
            },
            {
                id: 3,
                name: 'OpenClassrooms',
                remark: '汇聚全国有值名师',
                allRemark: '超过500+免费高质量课程',
                img1: 'open163.png',
                link: "https://openclassrooms.com/en/courses"
            },










        ]
    },
    {
        id: 2,
        name: '音乐搜索',
        icon: '#icon-pingtaixinxi',
        details: [
            {
                id: 1,
                name: '大学资源网',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国优质名师在线视频教学课程资源',
                img1: 'dxzy163-logo.png',
                link: "https://www.dxzy163.com/"
            },
            {
                id: 2,
                name: '我要自学网',
                remark: '汇聚全国有值名师',
                allRemark: '国内领先的在线实用技能视频学习平台',
                img1: '51zxw-logo.png',
                link: "https://www.51zxw.net/"
            },
            {
                id: 3,
                name: 'OpenClassrooms',
                remark: '汇聚全国有值名师',
                allRemark: '超过500+免费高质量课程',
                img1: 'open163.png',
                link: "https://openclassrooms.com/en/courses"
            },
            {
                id: 4,
                name: 'MasterClass',
                remark: '汇聚全国有值名师',
                allRemark: '世界顶级大师精品课程学习平台',
                img1: 'openclassrooms-logo.png',
                link: "https://www.masterclass.com/"
            },
            {
                id: 5,
                name: '网易公开课',
                remark: '汇聚全国有值名师',
                allRemark: '网易旗下的免费公开课平台',
                img1: 'masterclass.png',
                link: "https://open.163.com"
            },
            {
                id: 6,
                name: 'FutureLearn',
                remark: '汇聚全国有值名师',
                allRemark: '英国第一MOOC平台',
                img1: 'mooc-cn.png',
                link: "https://www.futurelearn.com/"
            },
            {
                id: 7,
                name: '爱课程',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国有值名师, 课程资源、学习资料、学习资料',
                img1: 'mooc-cn.png',
                link: 'http://m.xichuangzhu.com/library'
            },
            {
                id: 8,
                name: 'MOOC中国',
                remark: '汇聚全国有值名师',
                allRemark: '慕课改变你，你改变世界。MOO...',
                img1: 'mooc-cn.png',
                link: "https://www.mooc.cn"
            }]
    }
    ,
    {
        id: 3,
        name: '影视下载',
        icon: '#icon-shuji1',
        details: [
            {
                id: 1,
                name: '大学资源网',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国优质名师在线视频教学课程资源',
                img1: 'dxzy163-logo.png',
                link: "https://www.dxzy163.com/"
            },
            {
                id: 2,
                name: '我要自学网',
                remark: '汇聚全国有值名师',
                allRemark: '国内领先的在线实用技能视频学习平台',
                img1: '51zxw-logo.png',
                link: "https://www.51zxw.net/"
            },
            {
                id: 3,
                name: 'OpenClassrooms',
                remark: '汇聚全国有值名师',
                allRemark: '超过500+免费高质量课程',
                img1: 'open163.png',
                link: "https://openclassrooms.com/en/courses"
            },
            {
                id: 4,
                name: 'MasterClass',
                remark: '汇聚全国有值名师',
                allRemark: '世界顶级大师精品课程学习平台',
                img1: 'openclassrooms-logo.png',
                link: "https://www.masterclass.com/"
            },
            {
                id: 5,
                name: '网易公开课',
                remark: '汇聚全国有值名师',
                allRemark: '网易旗下的免费公开课平台',
                img1: 'masterclass.png',
                link: "https://open.163.com"
            },
            {
                id: 6,
                name: 'FutureLearn',
                remark: '汇聚全国有值名师',
                allRemark: '英国第一MOOC平台',
                img1: 'mooc-cn.png',
                link: "https://www.futurelearn.com/"
            },
            {
                id: 7,
                name: '爱课程',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国有值名师, 课程资源、学习资料、学习资料',
                img1: 'mooc-cn.png',
                link: 'http://m.xichuangzhu.com/library'
            },
            {
                id: 8,
                name: 'MOOC中国',
                remark: '汇聚全国有值名师',
                allRemark: '慕课改变你，你改变世界。MOO...',
                img1: 'mooc-cn.png',
                link: "https://www.mooc.cn"
            }]
    }
    ,
    {
        id: 4,
        name: '影视搜索',
        icon: '#icon-yingshi',
        details: [
            {
                id: 1,
                name: '大学资源网',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国优质名师在线视频教学课程资源',
                img1: 'dxzy163-logo.png',
                link: "https://www.dxzy163.com/"
            },
            {
                id: 2,
                name: '我要自学网',
                remark: '汇聚全国有值名师',
                allRemark: '国内领先的在线实用技能视频学习平台',
                img1: '51zxw-logo.png',
                link: "https://www.51zxw.net/"
            },
            {
                id: 3,
                name: 'OpenClassrooms',
                remark: '汇聚全国有值名师',
                allRemark: '超过500+免费高质量课程',
                img1: 'open163.png',
                link: "https://openclassrooms.com/en/courses"
            },
            {
                id: 4,
                name: 'MasterClass',
                remark: '汇聚全国有值名师',
                allRemark: '世界顶级大师精品课程学习平台',
                img1: 'openclassrooms-logo.png',
                link: "https://www.masterclass.com/"
            },
            {
                id: 5,
                name: '网易公开课',
                remark: '汇聚全国有值名师',
                allRemark: '网易旗下的免费公开课平台',
                img1: 'masterclass.png',
                link: "https://open.163.com"
            },
            {
                id: 6,
                name: 'FutureLearn',
                remark: '汇聚全国有值名师',
                allRemark: '英国第一MOOC平台',
                img1: 'mooc-cn.png',
                link: "https://www.futurelearn.com/"
            },
            {
                id: 7,
                name: '爱课程',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国有值名师, 课程资源、学习资料、学习资料',
                img1: 'mooc-cn.png',
                link: 'http://m.xichuangzhu.com/library'
            },
            {
                id: 8,
                name: 'MOOC中国',
                remark: '汇聚全国有值名师',
                allRemark: '慕课改变你，你改变世界。MOO...',
                img1: 'mooc-cn.png',
                link: "https://www.mooc.cn"
            }]
    }
    ,
    {
        id: 5,
        name: '小说',
        icon: '#icon-a-Sheetmusic',
        details: [
            {
                id: 1,
                name: '大学资源网',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国优质名师在线视频教学课程资源',
                img1: 'dxzy163-logo.png',
                link: "https://www.dxzy163.com/"
            },
            {
                id: 2,
                name: '我要自学网',
                remark: '汇聚全国有值名师',
                allRemark: '国内领先的在线实用技能视频学习平台',
                img1: '51zxw-logo.png',
                link: "https://www.51zxw.net/"
            },
            {
                id: 3,
                name: 'OpenClassrooms',
                remark: '汇聚全国有值名师',
                allRemark: '超过500+免费高质量课程',
                img1: 'open163.png',
                link: "https://openclassrooms.com/en/courses"
            },
            {
                id: 4,
                name: 'MasterClass',
                remark: '汇聚全国有值名师',
                allRemark: '世界顶级大师精品课程学习平台',
                img1: 'openclassrooms-logo.png',
                link: "https://www.masterclass.com/"
            },
            {
                id: 5,
                name: '网易公开课',
                remark: '汇聚全国有值名师',
                allRemark: '网易旗下的免费公开课平台',
                img1: 'masterclass.png',
                link: "https://open.163.com"
            },
            {
                id: 6,
                name: 'FutureLearn',
                remark: '汇聚全国有值名师',
                allRemark: '英国第一MOOC平台',
                img1: 'mooc-cn.png',
                link: "https://www.futurelearn.com/"
            },
            {
                id: 7,
                name: '爱课程',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国有值名师, 课程资源、学习资料、学习资料',
                img1: 'mooc-cn.png',
                link: 'http://m.xichuangzhu.com/library'
            },
            {
                id: 8,
                name: 'MOOC中国',
                remark: '汇聚全国有值名师',
                allRemark: '慕课改变你，你改变世界。MOO...',
                img1: 'mooc-cn.png',
                link: "https://www.mooc.cn"
            }]
    },
    {
        id: 6,
        name: '漫画',
        icon: '#icon-pingtaixinxi',
        details: [
            {
                id: 1,
                name: '大学资源网',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国优质名师在线视频教学课程资源',
                img1: 'dxzy163-logo.png',
                link: "https://www.dxzy163.com/"
            },
            {
                id: 2,
                name: '我要自学网',
                remark: '汇聚全国有值名师',
                allRemark: '国内领先的在线实用技能视频学习平台',
                img1: '51zxw-logo.png',
                link: "https://www.51zxw.net/"
            },
            {
                id: 3,
                name: 'OpenClassrooms',
                remark: '汇聚全国有值名师',
                allRemark: '超过500+免费高质量课程',
                img1: 'open163.png',
                link: "https://openclassrooms.com/en/courses"
            },
            {
                id: 4,
                name: 'MasterClass',
                remark: '汇聚全国有值名师',
                allRemark: '世界顶级大师精品课程学习平台',
                img1: 'openclassrooms-logo.png',
                link: "https://www.masterclass.com/"
            },
            {
                id: 5,
                name: '网易公开课',
                remark: '汇聚全国有值名师',
                allRemark: '网易旗下的免费公开课平台',
                img1: 'masterclass.png',
                link: "https://open.163.com"
            },
            {
                id: 6,
                name: 'FutureLearn',
                remark: '汇聚全国有值名师',
                allRemark: '英国第一MOOC平台',
                img1: 'mooc-cn.png',
                link: "https://www.futurelearn.com/"
            },
            {
                id: 7,
                name: '爱课程',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国有值名师, 课程资源、学习资料、学习资料',
                img1: 'mooc-cn.png',
                link: 'http://m.xichuangzhu.com/library'
            },
            {
                id: 8,
                name: 'MOOC中国',
                remark: '汇聚全国有值名师',
                allRemark: '慕课改变你，你改变世界。MOO...',
                img1: 'mooc-cn.png',
                link: "https://www.mooc.cn"
            }]
    }
    ,
    {
        id: 7,
        name: '图片1',
        icon: '#icon-shuji1',
        details: [
            {
                id: 1,
                name: '大学资源网',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国优质名师在线视频教学课程资源',
                img1: 'dxzy163-logo.png',
                link: "https://www.dxzy163.com/"
            },
            {
                id: 2,
                name: '我要自学网',
                remark: '汇聚全国有值名师',
                allRemark: '国内领先的在线实用技能视频学习平台',
                img1: '51zxw-logo.png',
                link: "https://www.51zxw.net/"
            },
            {
                id: 3,
                name: 'OpenClassrooms',
                remark: '汇聚全国有值名师',
                allRemark: '超过500+免费高质量课程',
                img1: 'open163.png',
                link: "https://openclassrooms.com/en/courses"
            },
            {
                id: 4,
                name: 'MasterClass',
                remark: '汇聚全国有值名师',
                allRemark: '世界顶级大师精品课程学习平台',
                img1: 'openclassrooms-logo.png',
                link: "https://www.masterclass.com/"
            },
            {
                id: 5,
                name: '网易公开课',
                remark: '汇聚全国有值名师',
                allRemark: '网易旗下的免费公开课平台',
                img1: 'masterclass.png',
                link: "https://open.163.com"
            },
            {
                id: 6,
                name: 'FutureLearn',
                remark: '汇聚全国有值名师',
                allRemark: '英国第一MOOC平台',
                img1: 'mooc-cn.png',
                link: "https://www.futurelearn.com/"
            },
            {
                id: 7,
                name: '爱课程',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国有值名师, 课程资源、学习资料、学习资料',
                img1: 'mooc-cn.png',
                link: 'http://m.xichuangzhu.com/library'
            },
            {
                id: 8,
                name: 'MOOC中国',
                remark: '汇聚全国有值名师',
                allRemark: '慕课改变你，你改变世界。MOO...',
                img1: 'mooc-cn.png',
                link: "https://www.mooc.cn"
            }]
    }
    ,
    {
        id: 8,
        name: '图片2',
        icon: '#icon-yingshi',
        details: [
            {
                id: 1,
                name: '大学资源网',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国优质名师在线视频教学课程资源',
                img1: 'dxzy163-logo.png',
                link: "https://www.dxzy163.com/"
            },
            {
                id: 2,
                name: '我要自学网',
                remark: '汇聚全国有值名师',
                allRemark: '国内领先的在线实用技能视频学习平台',
                img1: '51zxw-logo.png',
                link: "https://www.51zxw.net/"
            },
            {
                id: 3,
                name: 'OpenClassrooms',
                remark: '汇聚全国有值名师',
                allRemark: '超过500+免费高质量课程',
                img1: 'open163.png',
                link: "https://openclassrooms.com/en/courses"
            },
            {
                id: 4,
                name: 'MasterClass',
                remark: '汇聚全国有值名师',
                allRemark: '世界顶级大师精品课程学习平台',
                img1: 'openclassrooms-logo.png',
                link: "https://www.masterclass.com/"
            },
            {
                id: 5,
                name: '网易公开课',
                remark: '汇聚全国有值名师',
                allRemark: '网易旗下的免费公开课平台',
                img1: 'masterclass.png',
                link: "https://open.163.com"
            },
            {
                id: 6,
                name: 'FutureLearn',
                remark: '汇聚全国有值名师',
                allRemark: '英国第一MOOC平台',
                img1: 'mooc-cn.png',
                link: "https://www.futurelearn.com/"
            },
            {
                id: 7,
                name: '爱课程',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国有值名师, 课程资源、学习资料、学习资料',
                img1: 'mooc-cn.png',
                link: 'http://m.xichuangzhu.com/library'
            },
            {
                id: 8,
                name: 'MOOC中国',
                remark: '汇聚全国有值名师',
                allRemark: '慕课改变你，你改变世界。MOO...',
                img1: 'mooc-cn.png',
                link: "https://www.mooc.cn"
            }]
    }
    ,
    {
        id: 9,
        name: '素材1',
        icon: '#icon-yingshi',
        details: [
            {
                id: 1,
                name: '大学资源网',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国优质名师在线视频教学课程资源',
                img1: 'dxzy163-logo.png',
                link: "https://www.dxzy163.com/"
            },
            {
                id: 2,
                name: '我要自学网',
                remark: '汇聚全国有值名师',
                allRemark: '国内领先的在线实用技能视频学习平台',
                img1: '51zxw-logo.png',
                link: "https://www.51zxw.net/"
            },
            {
                id: 3,
                name: 'OpenClassrooms',
                remark: '汇聚全国有值名师',
                allRemark: '超过500+免费高质量课程',
                img1: 'open163.png',
                link: "https://openclassrooms.com/en/courses"
            },
            {
                id: 4,
                name: 'MasterClass',
                remark: '汇聚全国有值名师',
                allRemark: '世界顶级大师精品课程学习平台',
                img1: 'openclassrooms-logo.png',
                link: "https://www.masterclass.com/"
            },
            {
                id: 5,
                name: '网易公开课',
                remark: '汇聚全国有值名师',
                allRemark: '网易旗下的免费公开课平台',
                img1: 'masterclass.png',
                link: "https://open.163.com"
            },
            {
                id: 6,
                name: 'FutureLearn',
                remark: '汇聚全国有值名师',
                allRemark: '英国第一MOOC平台',
                img1: 'mooc-cn.png',
                link: "https://www.futurelearn.com/"
            },
            {
                id: 7,
                name: '爱课程',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国有值名师, 课程资源、学习资料、学习资料',
                img1: 'mooc-cn.png',
                link: 'http://m.xichuangzhu.com/library'
            },
            {
                id: 8,
                name: 'MOOC中国',
                remark: '汇聚全国有值名师',
                allRemark: '慕课改变你，你改变世界。MOO...',
                img1: 'mooc-cn.png',
                link: "https://www.mooc.cn"
            }]
    },
    {
        id: 10,
        name: '素材2',
        icon: '#icon-yingshi',
        details: [
            {
                id: 1,
                name: '大学资源网',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国优质名师在线视频教学课程资源',
                img1: 'dxzy163-logo.png',
                link: "https://www.dxzy163.com/"
            },
            {
                id: 2,
                name: '我要自学网',
                remark: '汇聚全国有值名师',
                allRemark: '国内领先的在线实用技能视频学习平台',
                img1: '51zxw-logo.png',
                link: "https://www.51zxw.net/"
            },
            {
                id: 3,
                name: 'OpenClassrooms',
                remark: '汇聚全国有值名师',
                allRemark: '超过500+免费高质量课程',
                img1: 'open163.png',
                link: "https://openclassrooms.com/en/courses"
            },
            {
                id: 4,
                name: 'MasterClass',
                remark: '汇聚全国有值名师',
                allRemark: '世界顶级大师精品课程学习平台',
                img1: 'openclassrooms-logo.png',
                link: "https://www.masterclass.com/"
            },
            {
                id: 5,
                name: '网易公开课',
                remark: '汇聚全国有值名师',
                allRemark: '网易旗下的免费公开课平台',
                img1: 'masterclass.png',
                link: "https://open.163.com"
            },
            {
                id: 6,
                name: 'FutureLearn',
                remark: '汇聚全国有值名师',
                allRemark: '英国第一MOOC平台',
                img1: 'mooc-cn.png',
                link: "https://www.futurelearn.com/"
            },
            {
                id: 7,
                name: '爱课程',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国有值名师, 课程资源、学习资料、学习资料',
                img1: 'mooc-cn.png',
                link: 'http://m.xichuangzhu.com/library'
            },
            {
                id: 8,
                name: 'MOOC中国',
                remark: '汇聚全国有值名师',
                allRemark: '慕课改变你，你改变世界。MOO...',
                img1: 'mooc-cn.png',
                link: "https://www.mooc.cn"
            }]
    },


    {
        id: 11,
        name: '学习平台1',
        icon: '#icon-yingshi',
        details: [
            {
                id: 1,
                name: '大学资源网',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国优质名师在线视频教学课程资源',
                img1: 'dxzy163-logo.png',
                link: "https://www.dxzy163.com/"
            },
            {
                id: 2,
                name: '我要自学网',
                remark: '汇聚全国有值名师',
                allRemark: '国内领先的在线实用技能视频学习平台',
                img1: '51zxw-logo.png',
                link: "https://www.51zxw.net/"
            },
            {
                id: 3,
                name: 'OpenClassrooms',
                remark: '汇聚全国有值名师',
                allRemark: '超过500+免费高质量课程',
                img1: 'open163.png',
                link: "https://openclassrooms.com/en/courses"
            },
            {
                id: 4,
                name: 'MasterClass',
                remark: '汇聚全国有值名师',
                allRemark: '世界顶级大师精品课程学习平台',
                img1: 'openclassrooms-logo.png',
                link: "https://www.masterclass.com/"
            },
            {
                id: 5,
                name: '网易公开课',
                remark: '汇聚全国有值名师',
                allRemark: '网易旗下的免费公开课平台',
                img1: 'masterclass.png',
                link: "https://open.163.com"
            },
            {
                id: 6,
                name: 'FutureLearn',
                remark: '汇聚全国有值名师',
                allRemark: '英国第一MOOC平台',
                img1: 'mooc-cn.png',
                link: "https://www.futurelearn.com/"
            },
            {
                id: 7,
                name: '爱课程',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国有值名师, 课程资源、学习资料、学习资料',
                img1: 'mooc-cn.png',
                link: 'http://m.xichuangzhu.com/library'
            },
            {
                id: 8,
                name: 'MOOC中国',
                remark: '汇聚全国有值名师',
                allRemark: '慕课改变你，你改变世界。MOO...',
                img1: 'mooc-cn.png',
                link: "https://www.mooc.cn"
            }]
    }
    ,




    {
        id: 12,
        name: '学习平台2',
        icon: '#icon-yingshi',
        details: [
            {
                id: 1,
                name: '大学资源网',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国优质名师在线视频教学课程资源',
                img1: 'dxzy163-logo.png',
                link: "https://www.dxzy163.com/"
            },
            {
                id: 2,
                name: '我要自学网',
                remark: '汇聚全国有值名师',
                allRemark: '国内领先的在线实用技能视频学习平台',
                img1: '51zxw-logo.png',
                link: "https://www.51zxw.net/"
            },
            {
                id: 3,
                name: 'OpenClassrooms',
                remark: '汇聚全国有值名师',
                allRemark: '超过500+免费高质量课程',
                img1: 'open163.png',
                link: "https://openclassrooms.com/en/courses"
            },
            {
                id: 4,
                name: 'MasterClass',
                remark: '汇聚全国有值名师',
                allRemark: '世界顶级大师精品课程学习平台',
                img1: 'openclassrooms-logo.png',
                link: "https://www.masterclass.com/"
            },
            {
                id: 5,
                name: '网易公开课',
                remark: '汇聚全国有值名师',
                allRemark: '网易旗下的免费公开课平台',
                img1: 'masterclass.png',
                link: "https://open.163.com"
            },
            {
                id: 6,
                name: 'FutureLearn',
                remark: '汇聚全国有值名师',
                allRemark: '英国第一MOOC平台',
                img1: 'mooc-cn.png',
                link: "https://www.futurelearn.com/"
            },
            {
                id: 7,
                name: '爱课程',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国有值名师, 课程资源、学习资料、学习资料',
                img1: 'mooc-cn.png',
                link: 'http://m.xichuangzhu.com/library'
            },
            {
                id: 8,
                name: 'MOOC中国',
                remark: '汇聚全国有值名师',
                allRemark: '慕课改变你，你改变世界。MOO...',
                img1: 'mooc-cn.png',
                link: "https://www.mooc.cn"
            }]
    }
    ,







    {
        id: 13,
        name: '导航网站1',
        icon: '#icon-yingshi',
        details: [
            {
                id: 1,
                name: '大学资源网',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国优质名师在线视频教学课程资源',
                img1: 'dxzy163-logo.png',
                link: "https://www.dxzy163.com/"
            },
            {
                id: 2,
                name: '我要自学网',
                remark: '汇聚全国有值名师',
                allRemark: '国内领先的在线实用技能视频学习平台',
                img1: '51zxw-logo.png',
                link: "https://www.51zxw.net/"
            },
            {
                id: 3,
                name: 'OpenClassrooms',
                remark: '汇聚全国有值名师',
                allRemark: '超过500+免费高质量课程',
                img1: 'open163.png',
                link: "https://openclassrooms.com/en/courses"
            },
            {
                id: 4,
                name: 'MasterClass',
                remark: '汇聚全国有值名师',
                allRemark: '世界顶级大师精品课程学习平台',
                img1: 'openclassrooms-logo.png',
                link: "https://www.masterclass.com/"
            },
            {
                id: 5,
                name: '网易公开课',
                remark: '汇聚全国有值名师',
                allRemark: '网易旗下的免费公开课平台',
                img1: 'masterclass.png',
                link: "https://open.163.com"
            },
            {
                id: 6,
                name: 'FutureLearn',
                remark: '汇聚全国有值名师',
                allRemark: '英国第一MOOC平台',
                img1: 'mooc-cn.png',
                link: "https://www.futurelearn.com/"
            },
            {
                id: 7,
                name: '爱课程',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国有值名师, 课程资源、学习资料、学习资料',
                img1: 'mooc-cn.png',
                link: 'http://m.xichuangzhu.com/library'
            },
            {
                id: 8,
                name: 'MOOC中国',
                remark: '汇聚全国有值名师',
                allRemark: '慕课改变你，你改变世界。MOO...',
                img1: 'mooc-cn.png',
                link: "https://www.mooc.cn"
            }]
    }
    ,
    {
        id: 14,
        name: '导航网站2',
        icon: '#icon-yingshi',
        details: [
            {
                id: 1,
                name: '大学资源网',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国优质名师在线视频教学课程资源',
                img1: 'dxzy163-logo.png',
                link: "https://www.dxzy163.com/"
            },
            {
                id: 2,
                name: '我要自学网',
                remark: '汇聚全国有值名师',
                allRemark: '国内领先的在线实用技能视频学习平台',
                img1: '51zxw-logo.png',
                link: "https://www.51zxw.net/"
            },
            {
                id: 3,
                name: 'OpenClassrooms',
                remark: '汇聚全国有值名师',
                allRemark: '超过500+免费高质量课程',
                img1: 'open163.png',
                link: "https://openclassrooms.com/en/courses"
            },
            {
                id: 4,
                name: 'MasterClass',
                remark: '汇聚全国有值名师',
                allRemark: '世界顶级大师精品课程学习平台',
                img1: 'openclassrooms-logo.png',
                link: "https://www.masterclass.com/"
            },
            {
                id: 5,
                name: '网易公开课',
                remark: '汇聚全国有值名师',
                allRemark: '网易旗下的免费公开课平台',
                img1: 'masterclass.png',
                link: "https://open.163.com"
            },
            {
                id: 6,
                name: 'FutureLearn',
                remark: '汇聚全国有值名师',
                allRemark: '英国第一MOOC平台',
                img1: 'mooc-cn.png',
                link: "https://www.futurelearn.com/"
            },
            {
                id: 7,
                name: '爱课程',
                remark: '汇聚全国有值名师',
                allRemark: '汇聚全国有值名师, 课程资源、学习资料、学习资料',
                img1: 'mooc-cn.png',
                link: 'http://m.xichuangzhu.com/library'
            },
            {
                id: 8,
                name: 'MOOC中国',
                remark: '汇聚全国有值名师',
                allRemark: '慕课改变你，你改变世界。MOO...',
                img1: 'mooc-cn.png',
                link: "https://www.mooc.cn"
            }]
    }

])
    ;



</script>

<style></style>